/*
 * @Author: sunzhijun 
 * @Date: 2020-02-28 21:36:16 
 * @Last Modified by: sunzhijun
 * @Last Modified time: 2020-02-28 21:37:38
 */

import React from 'react';
import {start, connect} from 'src/hrpub/common/frame';
import MainPage from '../container';
import model from '../model/model';
// import { handleHash, getAppPageConfig } from 'src/hrpub/common/utils/utils';
// let appConfig = getAppPageConfig();
// debugger
// const HomePage = handleHash('2019', `c=${appConfig.appcode}&p=${appConfig.pagecode}`)(connect(MainPage));
const HomePage = connect(MainPage);
start({
    root: document.getElementById('app'),
    component: <HomePage/>,
    model: [model]
});